home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / ue312h.zip / MSWMENU.H < prev    next >
Text File  |  1992-11-10  |  7KB  |  199 lines

  1. /* This file provides ID definitions for the menu resource
  2.    used under the Microsoft Windows environment on
  3.    an IBM-PC or compatible computer.
  4.  
  5.    Must be compiled with the Resource Compiler or Borland C++ 2.0
  6.    or MSC 6.0 or later versions
  7.    
  8.    It should not be compiled if the WINDOW_MSWIN symbol is not set */
  9.  
  10. #define IDM_POPUP       0x1000      /* popup level increment */
  11. #define IDM_DYNAMIC     0x0800      /* IDs above that are dynamic entries */
  12. #define IDM_NOTVIEW    0x0400        /* item to be grayed in view mode */
  13.  
  14. #define IDM_NULLPROC    0x03FF
  15.    
  16. /* File */
  17. #define IDM_FILEFIND    0x010
  18. #define IDM_FILE_POPUP  IDM_FILEFIND+IDM_POPUP
  19. #define IDM_VIEWFILE    0x012
  20. #define IDM_INSFILE    0x013+IDM_NOTVIEW
  21. #define IDM_FILEAPP    0x014+IDM_NOTVIEW
  22. #define IDM_FILEREAD    0x015
  23. #define IDM_FILENAME    0x016
  24. #define IDM_FILESAVE    0x017
  25. #define IDM_FILEWRITE    0x018
  26. #define IDM_SETEKEY    0x019
  27. #define IDM_NEXTBUFFER    0x01B
  28. #define IDM_FILE_BUFFER_POPUP IDM_NEXTBUFFER+IDM_POPUP
  29. #define IDM_USEBUFFER    0x01C
  30. #define IDM_UNMARK    0x01D+IDM_NOTVIEW
  31. #define IDM_NAMEBUFFER    0x01E
  32. #define IDM_KILLBUFFER    0x020
  33. #define IDM_NARROW    0x021
  34. #define IDM_WIDEN    0x022
  35. #define IDM_LISTBUFFERS    0x023
  36. #define IDM_SPLITWIND    0x024
  37. #define IDM_FILE_WINDOW_POPUP IDM_SPLITWIND+IDM_POPUP
  38. #define IDM_DELWIND    0x025
  39. #define IDM_ONLYWIND    0x026
  40. #define IDM_NEXTWIND    0x027
  41. #define IDM_PREVWIND    0x028
  42. #define IDM_MVUPWIND    0x029
  43. #define IDM_FILE_WINDOW_SCROLL_POPUP IDM_MVUPWIND+IDM_POPUP
  44. #define IDM_MVDNWIND    0x02A
  45. #define IDM_NEXTUP    0x02B
  46. #define IDM_NEXTDOWN    0x02C
  47. #define IDM_ENLARGEWIND    0x02D
  48. #define IDM_FILE_WINDOW_SIZE_POPUP IDM_ENLARGEWIND+IDM_POPUP
  49. #define IDM_SHRINKWIND    0x02E
  50. #define IDM_RESIZE    0x02F
  51. #define IDM_MODE    0x030
  52. #define IDM_GLOBMODE    0x031
  53. #define IDM_QUICKEXIT    0x032
  54. #define IDM_QUIT    0x033
  55.  
  56. /* Edit */
  57. #define IDM_CUTREGION    0x050+IDM_NOTVIEW
  58. #define IDM_EDIT_CLIPBOARD_POPUP IDM_CUTREGION+IDM_POPUP
  59. #define IDM_EDIT_POPUP  IDM_EDIT_CLIPBOARD_POPUP+IDM_POPUP
  60. #define IDM_CLIPREGION    0x051
  61. #define IDM_INSERTCLIP    0x052+IDM_NOTVIEW
  62. #define IDM_SETMARK    0x053
  63. #define IDM_EDIT_MARK_POPUP IDM_SETMARK+IDM_POPUP
  64. #define IDM_REMMARK    0x054
  65. #define IDM_SWAPMARK    0x055
  66. #define IDM_YANK    0x056+IDM_NOTVIEW
  67. #define IDM_KILLREGION    0x057+IDM_NOTVIEW
  68. #define IDM_EDIT_REGION_POPUP IDM_KILLREGION+IDM_POPUP
  69. #define IDM_COPYREGION    0x058
  70. #define IDM_UPPERREGION    0x059+IDM_NOTVIEW
  71. #define IDM_LOWERREGION    0x05A+IDM_NOTVIEW
  72. #define IDM_ENTAB    0x05B+IDM_NOTVIEW
  73. #define IDM_DETAB    0x05C+IDM_NOTVIEW
  74. #define IDM_TRIM    0x05D+IDM_NOTVIEW
  75. /*
  76. ** separated out because there seems to be a MIPS compiler problem on NT
  77. ** July 92 PDK that prevents the preprocesor from breaking this one down.
  78. */
  79. #define IDM_INDENT_REGION 0x05E + IDM_NOTVIEW
  80. #define IDM_UNDENT_REGION 0x05F+IDM_NOTVIEW
  81. #define IDM_WORDCOUNT      0x06B
  82. #define IDM_EDIT_PARAGRAPH_POPUP IDM_KILLPARA+IDM_POPUP
  83. #define IDM_KILLPARA    0x061+IDM_NOTVIEW
  84. #define IDM_FILLPARA    0x060+IDM_NOTVIEW
  85. #define IDM_KILLTEXT    0x062+IDM_NOTVIEW
  86. #define IDM_EDIT_LINE_POPUP IDM_KILLTEXT+IDM_POPUP
  87. #define IDM_OPENLINE    0x063+IDM_NOTVIEW
  88. #define IDM_DELFWORD    0x064+IDM_NOTVIEW
  89. #define IDM_EDIT_WORD_POPUP IDM_DELFWORD+IDM_POPUP
  90. #define IDM_DELBWORD    0x065+IDM_NOTVIEW
  91. #define IDM_CAPWORD    0x066+IDM_NOTVIEW
  92. #define IDM_LOWERWORD    0x067+IDM_NOTVIEW
  93. #define IDM_UPPERWORD    0x068+IDM_NOTVIEW
  94. #define IDM_DEBLANK    0x069+IDM_NOTVIEW
  95. #define IDM_TWIDDLE    0x06A+IDM_NOTVIEW
  96. #define IDM_TAB     0x06C+IDM_NOTVIEW
  97. #define IDM_QUOTE    0x06D+IDM_NOTVIEW
  98. #define IDM_SETFILLCOL    0x06E
  99.  
  100. /* Search */
  101. #define IDM_FORWSEARCH    0x080
  102. #define IDM_SEARCH_POPUP IDM_FORWSEARCH+IDM_POPUP
  103. #define IDM_BACKSEARCH    0x081
  104. #define IDM_FORWHUNT    0x082
  105. #define IDM_BACKHUNT    0x083
  106. #define IDM_FISEARCH    0x084
  107. #define IDM_RISEARCH    0x085
  108. #define IDM_SREPLACE    0x086+IDM_NOTVIEW
  109. #define IDM_QREPLACE    0x087+IDM_NOTVIEW
  110. #define IDM_GOTOMARK    0x088
  111. #define IDM_SEARCH_GOTO_POPUP IDM_GOTOMARK+IDM_POPUP
  112. #define IDM_GOTOLINE    0x089
  113. #define IDM_GETFENCE    0x08A
  114. #define IDM_GOTOBOB    0x08B
  115. #define IDM_GOTOEOB    0x08C
  116. #define IDM_FORWPAGE    0x08D
  117. #define IDM_SEARCH_PAGE_POPUP IDM_FORWPAGE+IDM_POPUP
  118. #define IDM_BACKPAGE    0x08E
  119. #define IDM_GOTOEOP    0x08F
  120. #define IDM_SEARCH_PARAGRAPH_POPUP IDM_GOTOEOP+IDM_POPUP
  121. #define IDM_GOTOBOP    0x090
  122. #define IDM_FORWLINE    0x091
  123. #define IDM_SEARCH_LINE_POPUP IDM_FORWLINE+IDM_POPUP
  124. #define IDM_BACKLINE    0x092
  125. #define IDM_GOTOBOL    0x093
  126. #define IDM_GOTOEOL    0x094
  127. #define IDM_FORWWORD    0x095
  128. #define IDM_SEARCH_WORD_POPUP IDM_FORWWORD+IDM_POPUP
  129. #define IDM_BACKWORD    0x096
  130. #define IDM_ENDWORD    0x097
  131.  
  132. /* Execute */
  133. #define IDM_EXECPRG    0x0B0
  134. #define IDM_EXECUTE_POPUP IDM_EXECPRG+IDM_POPUP
  135. #define IDM_SPAWNCLI    0x0B1
  136. #define IDM_SPAWN    0x0B2
  137. #define IDM_PIPECMD    0x0B3
  138. #define IDM_FILTER    0x0B4+IDM_NOTVIEW
  139. #define IDM_CTLXE    0x0B5
  140. #define IDM_EXECUTE_KEYBOARD_POPUP IDM_CTLXE+IDM_POPUP
  141. #define IDM_CTLXLP    0x0B6
  142. #define IDM_CTLXRP    0x0B7
  143. #define IDM_NAMEDCMD    0x0B8
  144. #define IDM_EXECUTE_RUN_POPUP IDM_NAMEDCMD+IDM_POPUP
  145. #define IDM_EXECCMD    0x0B9
  146. #define IDM_EXECPROC    0x0BA
  147. #define IDM_EXECBUF    0x0BB
  148. #define IDM_EXECFILE    0x0BC
  149. #define IDM_CTRLG       0x0BD
  150.  
  151. /* Miscellaneous */
  152. #define IDM_BINDTOKEY    0x0D0
  153. #define IDM_MISC_BINDTOKEY_POPUP IDM_BINDTOKEY+IDM_POPUP
  154. #define IDM_MISC_POPUP    IDM_MISC_BINDTOKEY_POPUP+IDM_POPUP
  155. #define IDM_UNBINDKEY    0x0D2
  156. #define IDM_DESKEY    0x0D3
  157. #define IDM_MISC_MACROTOKEY_POPUP IDM_MACROTOKEY+IDM_POPUP
  158. #define IDM_MACROTOKEY    0x0D1
  159. #define IDM_BINDTOMENU    0x0C0
  160. #define IDM_MACROTOMENU    0x0C1
  161. #define IDM_UNBINDMENU  0x0C2
  162. #define IDM_SETVAR    0x0D4
  163. #define IDM_MISC_VARIABLE_POPUP IDM_SETVAR+IDM_POPUP
  164. #define IDM_DISPVAR    0x0D5
  165. #define IDM_DESVARS    0x0D6
  166. #define IDM_SHOWCPOS    0x0DA
  167.  
  168. /* Screen */
  169. #define IDM_CASCADE    0x110
  170. #define IDM_SCREEN_POPUP IDM_CASCADE+IDM_POPUP
  171. #define IDM_TILE_HORIZONTALLY 0x111
  172. #define IDM_TILE_POPUP IDM_TILE_HORIZONTALLY
  173. #define IDM_TILE_VERTICALLY 0x112
  174. #define IDM_ARRANGEICONS 0x113
  175. #define IDM_FIND_SCREEN    0x100
  176. #define IDM_RENAME_SCREEN 0x105
  177. #define IDM_NEWSIZE    0x101
  178. #define IDM_SCREEN_SIZE_POPUP IDM_NEWSIZE+IDM_POPUP
  179. #define IDM_NEWWIDTH    0x102
  180. #define IDM_NORMALIZE   0x103
  181. #define IDM_FONT    0x104
  182.  
  183. /* Help */
  184. #define IDM_WHELPINDEX    0x120
  185. #define IDM_HELP_POPUP    IDM_WHELPINDEX+IDM_POPUP
  186. #define IDM_WHELPKEYBOARD 0x121
  187. #define IDM_WHELPCOMMANDS 0x122
  188. #define IDM_WHELPPROCEDURES 0x123
  189. #define IDM_DESBIND    0x125
  190. #define IDM_HELP_LIST_POPUP IDM_DESBIND+IDM_POPUP
  191. #define IDM_DESFUNC    0x126
  192. /* define IDM_DESVARS    already done above */
  193. #define IDM_APRO    0x127
  194. #define IDM_ABOUT    0x128
  195.  
  196. #if 0   /* put a 1 here to add the "Break to debugger" menu item */
  197. #define IDM_DEBUG       0x200
  198. #endif
  199.